package com.bysj.lms.pojo.entity;

import java.io.Serializable;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaojiakai
 * @since 2022-02-04
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("课程大纲模型")
public class CourseOutline implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    @TableId(type = IdType.AUTO)
    private int id;

    
    @ApiModelProperty("课程中文名称")
    @ExcelProperty(value = "课程中文名称",index = 0)
    private String chineseName;
    
    @ExcelProperty(value = "课程英文名称",index = 1)
    @ApiModelProperty("课程英文名称")
    private String englishName;
    
    @ExcelProperty(value = "学分",index = 2)
    @ApiModelProperty("学分")
    private Float credit;
    
    @ExcelProperty(value = "课程性质",index = 3)
    @ApiModelProperty("课程性质")
    private String courseNature;
    
    @ExcelProperty(value = "考核方式",index = 4)
    @ApiModelProperty("考核方式")
    private String evaluationModel;
    
    @ExcelProperty(value = "学时",index = 5)
    @ApiModelProperty("学时")
    private Integer classHour;
    
    @ExcelProperty(value = {"学时分配","讲授"},index = 6)
    @ApiModelProperty("讲授")
    private Integer teach;
    
    @ExcelProperty(value = {"学时分配","实验"},index = 7)
    @ApiModelProperty("实验")
    private Integer experiment;
    
    @ExcelProperty(value = {"学时分配","实习"},index = 8)
    @ApiModelProperty("实习")
    private Integer internship;
    
    @ExcelProperty(value = {"学时分配","上机"},index = 9)
    @ApiModelProperty("上机")
    private Integer shangji;
    
    @ExcelProperty(value = "执行学期",index = 10)
    @ApiModelProperty("执行学期")
    private String term;
    
    @ExcelIgnore
    @ApiModelProperty("版本号")
    private String versionNumber;
}
